#！/bin/bash
echo "map: " $1
cd /home/bingo/patrol_ws/src/platform_controller_server
rm -f amcl.txt
sleep 1
bash -c "source /home/bingo/patrol_ws/devel/setup.bash; roslaunch --pid=/home/bingo/patrol_ws/src/platform_controller_server/amcl.txt turtlebot3_navigation turtlebot3_navigation.launch map_file:=/home/bingo/apache/upload/$1"
